<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <title>绑定值</title>
    </head>
    <body>
         <div id = "app">
            单选按钮
             <!-- 当点击的时候才会触发v-model ,value在加载完成之后已经存在了-->
            <input type="radio" v-model = "picked" :value = "value">
            <label>单选按钮</label>
            <p>{{ picked }}</p>
            <p>{{ value }}</p>
        </div>
        <script src = "../../vue.min.js"></script>
        <script>
            var app = new Vue({
                el:"#app",
                data:{
                    picked:false,
                    value:123
                }
            })
        </script> 

    </body>
</html>